package com.ketangpai.admin.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * 用户通知表(UserNotice)表实体类
 *
 * @author makejava
 * @since 2023-06-14 02:07:16
 */
@Data
public class UserNotice {
    //主键id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户id
    private Integer userId;
    //课程id
    private Integer courseId;
    //教学活动标签
    private String activity;
    //通知内容id
    private Integer contentId;
    //0.已读 1.未读
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}

